<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/include/head.jsp"%>
<html>
  <head>
    <title>login</title>
    <script type="text/javascript">
    	$(function(){
    		
		});
    </script>
  </head>
  
  <body>
	<h1 align="center">login:</h1>
	<center>
		<form action="<%=contextPath%>/login.do" method="post" id="login">
			<table align="center">
				<tr>
					<td align="center">UserName：</td>
					<td><input name="user.username" type="text"/></td>
				</tr>
				<tr>
					<td align="center">Password：</td>
					<td><input name="user.password" type="password"/></td>
				</tr>
			</table>
			<div align="center">
				<span id="upinfo" style="color: red">
					<s:property value="#session['loginError']"/>
				</span>
			</div>
			<input type="submit" value="login"/>
		</form>
	</center>
  </body>
</html>
